package financial.sharing.center.receivable.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.receivable.model.entity.ReceivableAccrued;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @ClassName ReceivableAccruedService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface ReceivableAccruedService {
    
    PageInfo<ReceivableAccrued> getAllReceivableAccrued(Integer contractId, Integer accruedId);

    Integer createOneReceivableAccrued(BigDecimal settlementAmount);

    Integer compileOneReceivableAccrued(ReceivableAccrued receivableAccrued);

    Integer deleteOneReceivableAccrued(Integer id);

    ReceivableAccrued getReceivableAccrued(Integer receivableAccruedId);

    Map<Integer, BigDecimal> getMapReceivableAccrued();
}
